﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DormMS.Model.ViewModels.Report
{
    public class Report_Order
    {
        /// <summary>
        /// 订单号
        /// </summary>
        [Description("订单号")]
        public string OrderNo { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        [Description("订单状态")]
        public string OrderState { get; set; }
        ///// <summary>
        ///// 收货人
        ///// </summary>
        //[Description("收货人")]
        //public string ReceiveName { get; set; }
        ///// <summary>
        ///// 手机号
        ///// </summary>
        //[Description("手机号")]
        //public string ReceivePhone { get; set; }
        ///// <summary>
        ///// 地址
        ///// </summary>
        //[Description("地址")]
        //public string ReceiveAddress { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        [Description("商品名称")]
        public string ProductName { get; set; }
        /// <summary>
        /// 规格名称
        /// </summary>
        [Description("商品规格")]
        public string SpecName { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        [Description("单价")]
        public decimal Price { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        [Description("数量")]
        public int ProductCount { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        [Description("总价")]
        public decimal TotalPrice { get; set; }
        /// <summary>
        /// 订单金额
        /// </summary>
        [Description("订单金额")]
        public decimal ProductPrice { get; set; }

        /// <summary>
        /// 邮费
        /// </summary>
        [Description("邮费")]
        public decimal PostageMoney { get; set; }

        /// <summary>
        /// 积分支付金额
        /// </summary>
        [Description("积分抵扣")]
        public decimal PointsPayMoney { get; set; }

        /// <summary>
        /// 优惠券金额
        /// </summary>
        [Description("优惠券抵扣")]
        public decimal ActivityCouponMoney { get; set; }

        /// <summary>
        /// 余额支付
        /// </summary>
        [Description("余额支付")]
        public decimal MemberMoney { get; set; }

        /// <summary>
        /// 支付金额
        /// </summary>
        [Description("微信支付")]
        public decimal PayMoney { get; set; }
        
        /// <summary>
        /// 支付状态
        /// </summary>
        [Description("支付状态")]
        public string PayState { get; set; }
        [Description("支付时间")]
        public DateTime? PayTime { get; set; }
        /// <summary>
        /// 发货状态
        /// </summary>
        [Description("发货状态")]
        public string SendStatus { get; set; }
        /// <summary>
        /// 订单类型
        /// </summary>
        [Description("订单类型")]
        public string OrderType { get; set; }

        /// <summary>
        /// 订单时间
        /// </summary>
        [Description("订单时间")]
        public DateTime AddTime { get; set; }
        [Description("使用积分")]
        public int UsePoints { get; set; }
        

    }
}
